﻿using System.Web.Optimization;

namespace DNT.RavenQA.Web.App_Start
{
    public class BundleConfig
    {
        public static void RegisterBundles(BundleCollection bundles)
        {
            bundles.Add(new ScriptBundle("~/bundles/jquery").Include("~/Scripts/jquery-{version}.js"));
            bundles.Add(new ScriptBundle("~/bundles/jqueryui").Include("~/Scripts/jquery-ui-{version}.js"));
            bundles.Add(new ScriptBundle("~/bundles/jqueryval").Include("~/Scripts/jquery.unobtrusive*", "~/Scripts/jquery.validate*"));
            bundles.Add(new ScriptBundle("~/bundles/modernizr").Include("~/Scripts/modernizr-*"));
            bundles.Add(new StyleBundle("~/content/css").Include("~/content/site.css"));
            bundles.Add(new StyleBundle("~/content/themes/base/css").Include(
                                                                                "~/content/themes/base/jquery.ui.core.css",
                                                                                "~/content/themes/base/jquery.ui.resizable.css",
                                                                                "~/content/themes/base/jquery.ui.selectable.css",
                                                                                "~/content/themes/base/jquery.ui.accordion.css",
                                                                                "~/content/themes/base/jquery.ui.autocomplete.css",
                                                                                "~/content/themes/base/jquery.ui.button.css",
                                                                                "~/content/themes/base/jquery.ui.dialog.css",
                                                                                "~/content/themes/base/jquery.ui.slider.css",
                                                                                "~/content/themes/base/jquery.ui.tabs.css",
                                                                                "~/content/themes/base/jquery.ui.datepicker.css",
                                                                                "~/content/themes/base/jquery.ui.progressbar.css",
                                                                                "~/content/themes/base/jquery.ui.theme.css")
                                                                            );
            bundles.Add(new ScriptBundle("~/bundles/tag-manager").Include("~/Scripts/tag-manager.js"));
            bundles.Add(new ScriptBundle("~/bundles/markdowndeep").Include("~/Scripts/MarkdownDeepLib*"));
            bundles.Add(new StyleBundle("~/content/markdowndeep").Include("~/content/markdown/mdd_styles.css"));
            bundles.Add(new ScriptBundle("~/bundles/openid").Include("~/Scripts/openid-jquery.js", "~/Scripts/openid-en.js"));
            bundles.Add(new StyleBundle("~/content/css/openid").Include("~/Content/openid/css/openid-shadow.css", "~/Content/openid/css/openid.css"));
        }
    }
}